package com.scheduledtest.demo;

import com.scheduledtest.demo.model.CostBaseScheduledConfig;
import org.springframework.scheduling.annotation.Scheduled;

public interface ScheduledTaskService {
    Boolean start(String taskKey, CostBaseScheduledConfig scheduled);

    Boolean stop(String taskKey);

    Boolean restart(String taskKey, CostBaseScheduledConfig scheduled);

    void initAllTask();
}
